spinner: Set clip
authorTimm Bäder <mail@baedert.org>
Thu, 4 May 2017 14:09:13 +0000 (16:09 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 20 Jul 2017 01:27:11 +0000 (21:27 -0400)
gtk/gtkspinner.c

index b11c80655a749f156019be470f36a04270d2d39f..9861f86826ad4bb752c08581069360e4454ddecf 100644 (file)
@@ -103,9 +103,7 @@ static void
 gtk_spinner_size_allocate (GtkWidget     *widget,
                            GtkAllocation *allocation)
 {
-  GtkAllocation clip;
-
-  gtk_widget_set_allocation (widget, allocation);
+  GtkAllocation clip = *allocation;
 
   gtk_css_gadget_allocate (GTK_SPINNER (widget)->priv->gadget,
                            allocation,